home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / mom_mania.swf / scripts / UIGameOver.as < prev    next >
Text File  |  2011-08-19  |  742b  |  36 lines

  1. package
  2. {
  3.    import flash.events.Event;
  4.    import mx.flash.UIMovieClip;
  5.    
  6.    public dynamic class UIGameOver extends UIMovieClip
  7.    {
  8.        
  9.       
  10.       public function UIGameOver()
  11.       {
  12.          super();
  13.          addFrameScript(0,frame1,2,frame3,19,frame20);
  14.       }
  15.       
  16.       function frame1() : *
  17.       {
  18.          stop();
  19.       }
  20.       
  21.       function frame3() : *
  22.       {
  23.          this.dispatchEvent(new Event("onIdle"));
  24.          this.dispatchEvent(new Event("hackButtonSounds"));
  25.          stop();
  26.       }
  27.       
  28.       function frame20() : *
  29.       {
  30.          this.dispatchEvent(new Event("onIdle"));
  31.          this.dispatchEvent(new Event("hackButtonSounds"));
  32.          stop();
  33.       }
  34.    }
  35. }
  36.